package com.study.system.entity;

/**
 * ES数据实体类
 */
public class ElasticsearchEntity {

    // 编号id
    private Integer id;

    // 数据
    private Object data;

    public ElasticsearchEntity(Integer id, Object data) {
        this.id = id;
        this.data = data;
    }

    public ElasticsearchEntity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
